//
//  NetworkHeader.h
//  YAMainProject
//
//  Created by 郑逸凯 on 2018/11/1.
//  Copyright © 2018年 郑逸凯. All rights reserved.
//

#ifndef NetworkHeader_h
#define NetworkHeader_h

#define WO_REQUEST_TIMEINTERVAL 5

#define WO_BASE_URL @"http://101.71.143.216"

#define WO_URL(url) [NSString stringWithFormat:@"%@%@",WO_BASE_URL,url]
#define WO_IMAGE_URL(url) [NSString stringWithFormat:@"%@/images/figure/%@",WO_BASE_URL,url]


//URL路径
#define WO_PATH_LOGIN @":5088/user/login?username=%@&password=%@"
#define WO_PATH_BOAT_LIST @":5088/fleet/all"
#define WO_PATH_SDC_CTRL @":8081/api/device/sdc"
#define WO_PATH_SDC_SCREENSHOT @":8081/api/device/screenShot"
#define WO_PATH_ALBUM_LIST @":5088/albumIndex/index"
#define WO_PATH_PHOTO_LIST @":5088/pic/all"
#define WO_PATH_PHOTO_DELETE @":5088/pic/delete"
#define WO_PATH_PHOTO_NUMBER_MONTH @":5088/pic/dateByMonth"
#define WO_PATH_MONITOR_REGISTER @":5088/device/call"
#define WO_PATH_MONITOR_RELEASE @":5088/device/end"
#endif /* NetworkHeader_h */
